home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
TAWUG
/
TAWUG Disk No. 53 (SHK)
/
TAWUG53.shk
/
TURNKEY
(
.txt
)
< prev
next >
Wrap
AppleWorks Document
|
1987-06-29
|
12KB
|
231 lines
O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
---------------------------------------------------$
updated Mar 11, 1987 SAMPLE MACROS5
---------------------------------------------------
L The first macro is blank so you can use this as a TURNKEY macro file that
only updates the macros:
Add files to desktop (solid-apple-R will return):
A:<main><return><return>
Sample text. AutoWorks title:N
LB:<return>AutoWorks<return>from the Software Touch<return>Copyright 1986 by
Alan Bird<return>
Center one line of text (WP file only)6
C:<DOWN><A-O>UJ<RETURN><ESC><UP><A-O>CN<RETURN><ESC>
H Block delete to clipboard. Use instead of open-apple-D so you can do !
undeletes with solid-apple-ESC.
D:<a-m>t
O The following incredible macro was submitted by Jack Rowe of San Diego, CA. M
KIt automatically prints an address (from a word processor file) and return N
Laddress on an envelope. To use it, put the envelope in the printer. Place G
Ethe cursor on the first character of the mailing address in the word M
Kprocessor file. Press solid-apple-E. Adjust the size of the address with P
Nthe arrow keys. Press return. Watch in amazement. This macro uses macros N G
(which should be updated to contain your return address) and macro Z.O
ME:<a-c>W<repeat>4,<down><left><keyto><return><a-9><return><begin><a-o>np<retuO
Mrn>lm<return>0<return><esc><insert><n><a-o>lm<return>3.5<return><esc><repeat>O
M6,<return><a-p>t<return>1<return><repeat>15,<up><a-f>onp<return>N<z><a-1><a-z
Set up to do a find from the beginning of the file:
F:<A-1><A-F>T<A-Y>
J Go to marker #1. Use macro M to set the marker. You may use marker #1 0
several times in the same word processor file."
G:<A-1><A-F>M1<RETURN><KEY><A-Z>
Home to first cell in spread sheet or upper left in word processor file:
H:<IF SS><~A><IF WP><~B>
Indent 5:!
I:<A-O>IN<RETURN>5<RETURN><ESC>
No Indent:!
|:<A-O>IN<RETURN>0<RETURN><ESC>
Justify both margins:
J:<A-O>JU<RETURN><ESC>
Find page number by calculating page breaks first:,
K:<A-K><RETURN><A-1><A-F>P<KEYTO><RETURN>N
Convert to lower case:
L:<replace><repeat>99,<LOWER>
Set Marker #1:!
M:<A-O>SM<RETURN>1<RETURN><ESC>
Put your Name and address here:E
CN:Charlie's AppleSeeds<return>9081 Hadley Pl<return>San Diego, CA
92126<return>Phone: N
619-566-0387<return><return><a-o>ci<return>12<return>ek<return><esc><return>
Uses macro ~O to create an outline:
O:<RETURN> <~O>:<TAB>
Prints next Roman numeral:O
M~O:<LIST>I,II,III,IV,V,VI,VII,VIII,IX,X,XI,XII,XIII,XIV,XV,XVI,XVII,XVIII,XIX$
,XX,XXI,XXII,XXIII,XXIV,XV,<RESET>
Prints the digits 0-25 then starts again:O
M0:<LIST>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,<
RESET>
Uses macro 0 to number items:
1:<RETURN><0>.
L Print WP, SS, or DB file. You cannot press ESC to cancel printing or the O
Mspace bar to pause since the macro is in effect during prining. If you ever M
need to cancel or pause, remove the last <RETURN> on macros ~P, ~Q, and ~R.%
P:<IF WP><~P><IF SS><~Q><IF DB><~R>
Use after macro A or macro ~C to return to the file:
R:<RESUME>
Save a file and remove it. Use if you are all done editing the file:%
S:<A-S><MAIN>4<RETURN><RETURN><A-Q>
Save several files and return to last file being worked on: 2
~S :<MAIN>3<RETURN><Keyto><repeat>12,<Return><R>
Create a numeric keypad in the middle of the keyboard:2
T:<sub>u4,U4,i5,I5,o6,O6,j1,J1,k2,K2,l3,L3,m0,M0
Remove numeric keypad. Turn off character substitution:
~T:<nosub>
Convert to upper case:
U:<replace><repeat>99,<UPPER>
N Deletes the entire line the cursor is on. Moves it to the clipboard so you &
may use solid-apple-ESC to undelete.%
Y:<begin><a-m>t<down><left><return>
K Zaps (deletes) to the end of the file. Moves it to the clipboard so you &
may use solid-apple-ESC to undelete.
Z:<A-M>T<A-9><RETURN>,
Set wider margins for indented material:8
>:<a-o>rm<return>1.5<return>lm<return>1.5<return><esc>
Restore margins:4
<:<a-o>rm<return>1<return>lm<return>1<return><esc>
Goes to beginning of next line in word processor:$
<return>:<repeat>20,<tab><a-right>
K Deletes the word the cursor is on. Moves it to the clipboard so you may "
use solid-apple-ESC to undelete.7
<delete>:<right><a-left><a-m>t<a-right><left><return>
J Use after macros D, Y, Z, and DELETE to undelete. Can also be used for
multiple pasting:
<esc>:<a-c>f
Move to the beginning of the line:
<left>:<begin>
Move to the end of the line:
<right>:<end>
Makes spread sheet column wider:!
.:<A-L>C<RETURN>C<A-RIGHT><ESC>
Makes spread sheet column narrower:
,:<A-L>C<RETURN>C<A-LEFT><ESC>
*****************O
M The following are control character macros. To use, hold down the CONTROL C
and solid-apple keys, then press the character following the "~".
*****************
Home to first cell in spread sheet. Used by macro H:
~A:<a-f>c<a-y>a1<return>
Home to upper left in WP file. Used by macro H:
~B:<A-UP><BEGIN>
Catalog the current data disk from anywhere (use solid-apple-R to return):
~C:<MAIN>5<RETURN>2<RETURN>
*****************L
J For the following 3 macros, you may insert a <KEYTO> keyword before any K
I<RETURN> if you need to make a selection such as which printer to use or
which report format to use
*****************
Print WP file. Used by macro P:"
~P:<A-P><RETURN><RETURN><RETURN>
Print SS file. Used by macro P:#
~Q:<A-P>A<RETURN><RETURN><RETURN>
Print DB file. Used by macro P:7
~R:<A-P><RETURN><RETURN><A-P><RETURN><RETURN><RETURN>
------------------------------------------------------------E
The following macros are not mentioned in the instruction manual.>
------------------------------------------------------------
M Jump to the next sentence. It works by finding the next period, so it will N
Lalso stop at other periods that may be found within a sentence. To use it,
press solid-apple-space.(
<space>:<a-f>t<a-y>.<return>n<a-right>
J This macro generates footnote number for you automatically. Just enter M
Ksolid-apple-control-F to generate the next number. Add to macro ~G if you
need more numbers.1
~f:<a-o>+b<return><esc><~g><a-o>+e<return><esc>L
~g:<list>1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25
Quick switch to next desktop file:
Q:<A-Q><DOWN><RETURN>
N This macro exchanges 2 characters that are transposed. Place the cursor on H
the first character and press solid-apple-/ (unshifted question mark)..
/:<a-m>w<return><right><right><return><left>
H The following macro exchanges 2 words that are transposed. Place the J
cursor on the first word and press solid-apple-\ (above the RETURN key).O
M\:<right><a-left><a-m>w<a-right><left><return><right><a-right><return><a-left
Change the current data disk from anywhere (use solid-apple-R to return):
~D:<main>5<return><return>
H Prints the current date as set by a clock card or by you when you ran
AppleWorks.
&:<date>
Prints the current time if you have a ProDOS compatible clock card.
*:<time>
=====================
Newby's Macros
=====================
Open apple X - read disk
!:<a-x>2<return>
Mail-Merge
@:<a-x>1<return>
Insert page break:
#:<a-o>NP<RETURN><ESC>
Left Justify (cancel centering) or more simply put: unjustify margins:
$:<a-o>UJ<RETURN><ESC>
Alpha sort a database:
%:<a-a><return><return>
Numeric sort a database:
`:<a-a>3<return>
Set Dollar value with two decimals:
[:<a-v><return>D2<return>(
Set value to Percentage, two places:+
:<A-L>B<keyto><return><return>P2<return>
center text in word processor:
]:<a-o>cn<return><esc>
Insert space at the cursor:
_:<a-e> <a-e><left>
<up>:@sum(a1.a20)
<down>:@avg(a1.a20)
Remove a file from desktop4
X:<MAIN>4<RETURN><keyto><return>3<return>y<return>
Convert to lower case:
~L:<replace><LOWER>
convert to upper case:
2:<replace><UPPER>
Forced page break
4:<a-o>np<return><esc>
Remove file from disk>
5:<MAIN>5<RETURN>4<RETURN><KEYTO><RETURN>YES<RETURN><R><a-s>
Change current disk drive.
6:<MAIN>5<RETURN>1<RETURN><KEYTO><RETURN><R>
Setup Wordprocessor file, name it, set formatO
M7:<MAIN><RETURN>3<RETURN><RETURN><KEYTO><RETURN><A-O>LM<RETURN>.5<RETURN>RM<RO
METURN>.5<RETURN>CI<RETURN>6<RETURN>BM<RETURN>1.<RETURN>cn<return><ESC><n><ret?
=urn><return><a-o>uj<return>li<return>8<return><esc><#2> <#3> N
<#1><return><#4><return><#5> <#6> <#7><return><return><return>Dear Mr. <#1>:
Setup spreadsheet and name itO
M8:<MAIN><RETURN>5<RETURN><RETURN><keyto><RETURN><a-o>ci<return>12<return>lm<rO
Meturn>.5<return>rm<return>.5<return>li<return>8<return>bm<return>1<return>ph<
return><esc><9><3>
SPREADSHEET MACRO:O
M9:<RETURN><DOWN>"=========<RETURN><A-C><RETURN><RETURN><RIGHT>.<A-RIGHT><A-RIO
MGHT><A-RIGHT><RETURN><A-C>T<RETURN><DOWN><DOWN><A-C>F<A-DOWN><A-DOWN><A-DOWN>O
M<A-DOWN><A-DOWN><A-C>F<DOWN><DOWN><A-C>F<H><A-L>C<A-RIGHT><A-RIGHT><A-RIGHT><O
MRETURN>C<A-RIGHT><RETURN><A-L>C<RETURN>C<A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><O
MA-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><A-RIGO
MHT><A-RIGHT><A-RIGHT><RETURN><DOWN><DOWN>DESCRIPTION:<RIGHT>A<RIGHT>B<RIGHT>CO
M<RIGHT>D<RIGHT>E<RIGHT>F<RIGHT>G<RIGHT>H<RIGHT>I<RIGHT>J<RIGHT>K<RIGHT>L<RIGHO
MT>M<RIGHT>N<RIGHT>O<RIGHT>P<RIGHT>Q<RIGHT>R<RIGHT>S<RIGHT>T<RIGHT><H><DOWN><DO
MOWN><RIGHT><A-L>B<A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><RETURN>LC<A-V><RETURN><O
MRETURN>2<RETURN><A-V>RFM<A-V>R<RETURN><RETURN><A-9><UP>@SUM(B4.B100)<RETURN><O
MA-C><RETURN><RETURN><RIGHT>.<A-RIGHT><A-RIGHT><A-RIGHT><A-RIGHT><LEFT><LEFT><@
LEFT><RETURN>RR<H>DATE: MO: YR:<RETURN><RIGHT><&><RETURN>
From spreadsheet, set recalculation to manual mode+
3:<A-V>RFM <a-v>r<return><return><return>
Setup a database and name it:O
M+:<MAIN><RETURN>4<RETURN><RETURN><keyto><RETURN><a-y><repeat>28,<1><ESC><RETU0
RN><esc><ESC><?><a-n><return><keyto><esc><esc>
From a database, setup format of a tables reportO
M?:<A-P><RETURN><KEYTO><RETURN><A-O>LM<RETURN>.5<RETURN>RM<RETURN>.5<RETURN>CIO
M<RETURN>17<RETURN>BM<RETURN>1<RETURN>LI<RETURN>8<RETURN>PD<RETURN>PH<RETURN><
ESC><ESC><ESC><ESC><A-Z>
SUNDAY SCHOOL ROSTER PRINTER:O
MW:<A-P><RETURN>1<RETURN><A-P>1<RETURN><RETURN><ESC><RETURN>2<RETURN><keyto><rO
Meturn><A-P><RETURN><RETURN><ESC><RETURN>3<RETURN><keyto><return><A-P><RETURN>
<RETURN><ESC><ESC>
Macro to move row totals from Journal to ledger:O
MV:<A-P>b<keyto><RETURN>6<RETURN><Return>/data/dif.temp<RETURN>y<main><return>O
M5<RETURN>2<RETURN>/data/dif.temp<RETURN>temp<RETURN><A-c>t<A-9><RETURN><A-Q><O
MKeyto><RETURN><h><A-9><DOWN><DOWN><DOWN><A-c>f<a-c><return><a-9><return><keyt'
o>.<return><a-d><return><a-9><return>
Sets the number of copies for mail merge.
":<COPIES>3
Sets the number of copies back to one (with a "W").
^:<COPIES>1